]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tests/background-size: Get backend from global
authorJonas Ådahl <jadahl@gmail.com>
Wed, 7 Sep 2022 18:25:19 +0000 (20:25 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 16 Dec 2022 21:12:59 +0000 (22:12 +0100)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2557>

tests/interactive/background-size.js

index 8f8738da917d2ac202f7578c2c3908832eb756e0..4eaacf682472765d747df3c1d99ce2851f4ecefc 100644 (file)
@@ -8,7 +8,7 @@ const { Cogl, Clutter, Meta, St } = imports.gi;
 function test() {
     Meta.init();
 
-    let stage = Meta.get_backend().get_stage();
+    let stage = global.backend.get_stage();
     UI.init(stage);
 
     let vbox = new St.BoxLayout({ style: 'background: #ffee88;' });